package com.example.entity;

import java.io.Serializable;
import java.util.*;
import java.sql.Timestamp;

public class FlClient implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;
    /** 客户端唯一标识 */
    private String clientId;

    /** 设备类型 */
    private String deviceType;

    /** 最后活跃时间 */
    private Timestamp lastActive;

    /** 参与任务ID列表，以逗号分隔的字符串 */
    private String taskId;

    // Getters and Setters

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public Timestamp getLastActive() {
        return lastActive;
    }

    public void setLastActive(Timestamp lastActive) {
        this.lastActive = lastActive;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }
}